import { EntitySchema } from '@mikro-orm/core';

export class ImsYzdKpQuestionList {
  id!: number;
  title!: string;
  addTime!: string;
  updateTime!: string;
  uniacid!: number;
}

export const ImsYzdKpQuestionListSchema = new EntitySchema({
  class: ImsYzdKpQuestionList,
  properties: {
    id: { primary: true, type: 'number' },
    title: { type: 'string', length: 255 },
    addTime: { type: 'string', length: 255 },
    updateTime: { type: 'string', length: 255 },
    uniacid: { type: 'number' },
  },
});
